﻿#pragma once
#include<SFML/Graphics.hpp>
#include <vector>
#include "../../libcat/include/util/json.h"
#include "../../libcat/include/cat-interaction.hpp"

#define WIN32_LEAN_AND_MEAN

class RtspServer {

public:
	static RtspServer* GetInstance();

	static void ReleaseInstance();

	void Init(Json::Value cfg);

	void Draw(void* _window);

	void Release();

	bool IsInit() const { return isInit; }

	int getWidth()const { return windowWidth; }

	int getHeight()const { return windowHeight; }

protected:
	RtspServer();

	~RtspServer();

private:	
	bool isInit;
	int windowWidth,windowHeight;
};



